package com.dataModel;

import java.util.ArrayList;

import com.constants.PlaceOfDiviness;


public class Sourah {
	private ArrayList<Ayah> Ayat=new ArrayList<Ayah>();
	private String name;
	private int number;
	private int pageNumber;
	private PlaceOfDiviness placeOfDiviness;
	public Sourah(int id,String name)
	{
		this.number=id;
		this.name=name;
	}
	public ArrayList<Ayah> getAyat() {
		return Ayat;
	}
	public void setAyat(ArrayList<Ayah> ayat) {
		Ayat = ayat;
	}
	public String getName() {
		return name;
	}
	public PlaceOfDiviness getPlaceOfDiviness() {
		return placeOfDiviness;
	}
	public void setPlaceOfDiviness(PlaceOfDiviness placeOfDiviness) {
		this.placeOfDiviness = placeOfDiviness;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public void setName(String name) {
		this.name = name;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	
	public void setPageNumberAndPlaceOfDiviness(int pageNumber,PlaceOfDiviness placeOfDiviness)
	{
		this.setPageNumber(pageNumber);
		this.setPlaceOfDiviness(placeOfDiviness);
	}
	public String toString()
	{
	 return	this.getName();
	}
}
